package lagou.MapTest.CollectionTest;

import java.util.Stack;

public class StackTest { //栈
    public static void main(String[] args) {
        Stack s1 = new Stack();
        for (int i = 1;i<=5;i++){
            s1.push(i*11);
        }
        System.out.println(s1);
        System.out.println("栈顶是："+s1.peek());
    }
}
